Skip to content

Compile Markdown blog posts into the site's SQLite migrations - #1649

Open
lovasoa wants to merge 1 commit into
docs-fixes/embedsfrom
docs-stack/02-markdown-announcements
Open

lovasoa wants to merge 1 commit into
docs-fixes/embedsfrom
docs-stack/02-markdown-announcements

Conversation

@lovasoa

@lovasoa lovasoa commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Decision: accept Markdown posts with YAML metadata and compile them into a SQLite migration. Athens and Prague are the first two posts. Keeping articles in SQL avoids a compiler but makes authors quote a whole article as a SQL string.

Tradeoff: The existing Node site build gains one dev dependency (yaml, no transitive dependencies) and about 120 lines of parsing and seed generation. It replays the legacy migrations, binds the new rows, and writes migration 100 before the search index. That number is reserved and edits require a rebuild. The deployed site still runs plain SQLPage. No Rust crate, ODBC install, or new CI job is needed for this compiler.

Review: come-and-see-us-in-athens.md, content.mjs, documentation.mjs. Compare the previous SQL.

The current-site fixes are reviewed separately: #1685.

@lovasoa
lovasoa added this pull request to stack #1684 November 28, 2026 22:42
Base automatically changed from docs-stack/01-check-prepared-reference to main November 28, 2026 23:18
@lovasoa
lovasoa force-pushed the docs-stack/02-markdown-announcements branch 2 times, most recently from 99f0f3c to 22f5fbd Compare November 28, 2026 23:31
@lovasoa lovasoa changed the title Make conference posts editable as Markdown Compile Markdown blog posts into the site's SQLite migrations Nov 28, 2026
@lovasoa
lovasoa removed this pull request from stack #1684 November 28, 2026 23:52
@lovasoa
lovasoa changed the base branch from main to docs-fixes/embeds November 28, 2026 23:52
@lovasoa
lovasoa force-pushed the docs-stack/02-markdown-announcements branch from 22f5fbd to 41659d2 Compare November 28, 2026 23:52
@lovasoa
lovasoa added this pull request to stack #1695 November 28, 2026 23:52
@lovasoa
lovasoa force-pushed the docs-stack/02-markdown-announcements branch from 41659d2 to e46ef39 Compare November 29, 2026 00:47
@lovasoa
lovasoa force-pushed the docs-stack/02-markdown-announcements branch from e46ef39 to f28d538 Compare November 29, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant